package com.mingxingyi.applet.constant;

public class UserLoginConstant {

    public static final String TOKEN_NAME = "X-APPLET-TOKEN";

    //分享
    public static final String WX_SHARE_TOKEN_REDIS_NAME = "X_SHARE_TOKEN_REDIS_KEY";

    //访问
    public static final String WX_ACCESS_TOKEN_REDIS_KEY = "WX_ACCESS_TOKEN_REDIS_KEY";

    /**
     * 刷新token用到 临时token
     */
    public static final String WX_ACCESS_TOKEN_TEMPORARY_REDIS_KEY = "WX_ACCESS_TOKEN_TEMPORARY_REDIS_KEY";

    // 刷新
    public static final String WX_REFRESH_TOKEN_REDIS_KEY = "WX_REFRESH_TOKEN_REDIS_KEY";

    /**
     * 三分钟
     */
    public static int ACCESS_TOKEN_TEMPORARY_STORE_TIME = 3;

    // 小时
    public static int ACCESS_TOKEN_STORE_TIME = 24*7;

    public static int REFRESH_STORE_TIME = 24 *7+1;

    public static String STRIKE = "-";

    public static String UNDERLINE = "_";

    public static Integer DEFAULT_ZERO = 0;

    public static Integer DEFAULT_ONE = 1;
}
